export const rules = {
  phoneNum: [
    {
      required: true,
      message: '手机号是必传内容',
      trigger: 'blur'
    },
    {
      pattern: /^1[3456789]\d{9}$/,
      message: '手机号格式错误~',
      trigger: 'blur'
    }
  ],
  verifyCode: [
    {
      required: true,
      message: '验证码是必传内容',
      trigger: 'blur'
    },
    {
      pattern: /^\d{6}$/,
      message: '验证码格式错误~',
      trigger: 'blur'
    }
  ]
};
